package java67_adv5;

import java.util.Collection;
import java.util.Collections;

public class R<T extends Number, V extends Collection<T>> {
	private T t;
	private V v;

	public R(T t, V v) {
		this.t = t;
		this.v = v;
	}

	public void add(T h) {
		v.add(h);
		System.out.println(v.size());
		// >>>Collections.binarySearch(list, key)
	}
}
